const Controller = require('egg').Controller;

class UserController extends Controller {
    async list() {
        const { ctx } = this;
        const dataList = await ctx.service.user.list(1);
        ctx.body = dataList;
    }
}

module.exports = UserController;